package com.surfilter.msmp.common.filter;

/**
 * 描述：网页向量实体类
 * 作者：JinHuaTao
 * 时间：2018/6/25 11:13
 */
public class PageVector {

    /**
     * 向量编号
     * */
    private int number;

    /**
     * 向量分类
     * */
    private String classify;

    /**
     * 正向词组向量  词组关系：AND
     * */
    private String[] plusWord;

    /**
     * 负向词组向量  词组关系：NOT
     * */
    private String[] minusWord;

    /**
     * 中性词组向量 词组关系：OR
     * */
    private String[] middleWord;

    public PageVector(int number, String classify, String[] plusWord, String[] middleWord,String[] minusWord) {
        this.number = number;
        this.classify = classify;
        this.plusWord = plusWord;
        this.middleWord = middleWord;
        this.minusWord = minusWord;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String[] getPlusWord() {
        return plusWord;
    }

    public void setPlusWord(String[] plusWord) {
        this.plusWord = plusWord;
    }

    public String[] getMinusWord() {
        return minusWord;
    }

    public void setMinusWord(String[] minusWord) {
        this.minusWord = minusWord;
    }

    public String[] getMiddleWord() {
        return middleWord;
    }

    public void setMiddleWord(String[] middleWord) {
        this.middleWord = middleWord;
    }

    @Override
    public String toString() {
        return "PageVector{" +
                "classify='" + classify + '\'' +
                ", number='" + number + '\'' +
                '}';
    }
}
